﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>无标题页</title>
    <link href="../../Content/Themes/blue2/css.css" rel="stylesheet" type="text/css" />
    
    <script src="../../Content/Js/simple.js" type="text/javascript"></script>

    <script src="../../Content/Js/eqccd.js" type="text/javascript"></script>

</head>
<body class="footer">
    <table cellpadding="0" cellspacing="0" style="table-layout: fixed">
        <tr>
            <td class="l1">
                用户：<a href="#"><%:ViewData["user"] %></a>
            </td>
            <td>
               
            </td>
            <td class="l3"></td>
        </tr>
    </table>
    <input name="txtLoginDate" type="hidden" id="txtLoginDate" value="2014-04-09 11:05:19" />
    <form name="Form1" method="post" action="footer.aspx" id="Form1">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNDQ3MzcxOTU1ZGRf+jouTBO5em49MTLn7/Qr3Js6Cw==" />

<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWAgKyztDsBQKyzIHmDBiV3WJ1sQe287RGRuJg42Hj5ukn" />
    </form>

    <script type="text/javascript">
        var timespan2 = 30000;
        var timespan3 = 10000;
    </script>

  <%--  <script type="text/javascript">
        function showUserInfo(id) {
            qc.open("Settings/UserInfo.aspx?PK_ID=" + id, 600, 600);
        }
        function remind() {
            Ajax.get("footer.aspx", function (data, textStatus) {
                try {
                    if (data == "") return;
                    var arr = eval(data);
                    $("#l0").html(arr[0]);
                    $("#l1").html(arr[1]);
                    $("#l3").html(arr[3]);
                    $("#l4").html(arr[4]);
                    $("#l6").html(arr[6]);
                    setTimeout(remind, timespan2);
                } catch (e) { }
            }, { cmd: "remind", r: Math.random() });
        }
        function online() {
            Ajax.get("footer.aspx", function (data, textStatus) {
                try {
                    eval(data);
                    setTimeout(online, timespan3);
                } catch (e) { }
            }, { cmd: "online", r: Math.random() });
        }
        function msg() {
            Ajax.get("footer.aspx", function (data, textStatus) {
                try {
                    if (data && data.length > 3)
                        eval(data);
                    setTimeout(msg, 20000);
                } catch (e) { }
            }, { cmd: "msg", r: Math.random() });
        }
        function showMsg(id) {
            try {
                frm = qc.open('Common/msg/intinfget.aspx?id=' + id, 720, 580);
                frm.focus();
            } catch (e) { }
        }
        function showSysMsg(ids) {
            try {
                frm = qc.openWindow('Common/msg/systemmsg.aspx?ids=' + ids + "&r=" + Math.random(), 500, 400, true, true);

                frm.focus();
            } catch (e) { }
        }
        function updateLoginTime() {
            Ajax.get("footer.aspx", function (data) {
                $("#labOnline").html(data);
            }, { cmd: "time", dt: escape($("#txtLoginDate").val()), r: Math.random() });
            setTimeout(updateLoginTime, 30000);
        }
        updateLoginTime();
        remind();
        msg();
        online();
 
    
    
    </script>--%>
    

    <script type="text/javascript">

        function openRemind() {
            var remindCookie = $.cookie.get("NotRemid");
            if (remindCookie == null) {
                qc.openWindow("ibp/remind.aspx", 400, 300, true, true);
                $.cookie.set("NotRemid", 1, 1);
            }
        }
        function checkProduct(list) {
            for (var i = 0; i < list.length; i++) {
                var item = list[i];
                if (item.iType == 1) {
                    var p = parseInt('2364') * 100 / parseInt(item.iAuthorizationCount);
                    if (p >= 90) {
                        openRemind();
                        return;
                    }
                }
                if (item.FreeDays <= 7 && item.FreeDays > -1) {
                    openRemind();
                    return;
                }
            }
        }
        $.loadScript("plist", "http://api.24om.com/communication/productlist.ashx?sn=888888888-1111-6666-6666-888888888", function () {
            try {
                checkProduct(productList);
            } catch (e) { }
        });
    </script>

    
    
</body>
</html>
